package com.sinosoft.msf.base.supplier.pojo;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * 参数不确定时 使用的带分页信息的参数接收类
 * @author lid
 *
 */
public class PageParamVo {

    private int pageNo;
    private int pageSize;
    private JSONObject paramData;
    private JSONArray paramList;
    public int getPageNo() {
        return pageNo;
    }
    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }
    public int getPageSize() {
        if(pageSize == 0){
            pageSize = 10;
        }
        return pageSize;
    }
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
    public JSONObject getParamData() {
        if(paramData == null){
            return new JSONObject();
        }
        return paramData;
    }
    public void setParamData(JSONObject paramData) {
        this.paramData = paramData;
    }

    public JSONArray getParamList() {
        return paramList;
    }

    public void setParamList(JSONArray paramList) {
        this.paramList = paramList;
    }
}
